package net.hound;

public class Main {

	public static void main(String[] args) {
		if (args != null && args.length > 0) {
			String url = args[0];
			IHound hound = HoundFactory.chooseHound(url);
			if (hound != null) {
				if (args.length > 1)
					System.out.println(hound.getSource(args[1]));
				else
					System.out.println(hound.getSource(""));
			} else
				System.out.println("not support this site.");
		} else
			System.out.println("please input url.");
	}

}
